LWS\WOOREWARDS\Core\Sponsorship C

Total Complexity 109
Dependencies 5
Dependents 5
Total lines 453
Lines of code 323
Logical lines of code 202
Comment lines 57
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
getUsersFromOrder()
C
38 26 63
addRelationship()
A
44 15 37
getCurrentUsers()
A
46 14 39
onCustomerRegister()
S
50 7 26
forceUserSponsor()
S
54 6 20
isEligible()
S
59 6 11
getCurrentReferral()
S
61 5 11
userCan()
S
61 5 11
getSponsorIdFor()
S
57 4 17
guessSponsoredLanguage()
S
62 4 12
setCurrentReferral()
S
60 4 12
createReward()
S
53 3 21
getSponsorFor()
S
66 3 8
register()
S
63 2 9
getReferralKeys()
S
69 1 7
clearCurrentReferral()
S
66 1 8
saveOrderSponsor()
S
73 1 5
getOrderCountByEMail()
S
77 1 3
getOrderCountById()
S
77 1 3